package com.game.modular.gameCore.match.controller;

import com.game.modular.gameCore.match.service.impl.CoreMatchEndIntegralServiceImpl;
import com.game.modular.gameCore.match.domain.CoreMatchEndIntegral;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import com.game.comment.core.ResponseResult;

import java.util.List;


/**
 * (CoreMatchEndIntegral)表服务控制层
 *
 * @author cxy
 * @since 2024-09-10 11:53:12
 */
@Api(tags = "(CoreMatchEndIntegral)") 
@Validated
@RestController
@AllArgsConstructor
@RequestMapping("/coreMatchEndIntegral")
public class CoreMatchEndIntegralController {
    @Resource
    private CoreMatchEndIntegralServiceImpl coreMatchEndIntegralService;
    
    @ApiOperation("获取列表")
    @PostMapping("/list")
    public ResponseResult<List<CoreMatchEndIntegral>> list() {
        return ResponseResult.success(coreMatchEndIntegralService.listCache());
    }
}
